package com.settlement.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.settlement.system.model.entity.SysBillSummary;
import com.settlement.system.model.query.BillPageQuery;
import com.settlement.system.model.query.BillSummaryQuery;
import com.settlement.system.model.vo.SysBillSummaryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 标准账单汇总 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2023-08-05
 */
public interface SysBillSummaryService extends IService<SysBillSummary> {
    void removeAll(String tableName);
    void deleteTable(String tableName);

    Page<SysBillSummaryVO> getPage(BillSummaryQuery billSummaryQuery);

    /**
     * 创建表
     * @param tableName
     * @return
     */
    int createTable(@Param("tableName")String tableName);

    void createOrUpdate(List<SysBillSummary> sysBillSummaryList);

    List<Map<String, String>> listSummary(BillSummaryQuery billSummaryQuery);
}
